﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Mobile_H.Master" Inherits="System.Web.Mvc.ViewPage<Bias_Stock.Models.CountCartModel.Cart_CNT_DS>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Query_CartNo
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <style type="text/css">
        tr
        {
            height: 35px;
            text-align: right;
            background-color: #fff;
        }
        tr.dis
        {
            background-color: #FFFFC2;
        }
    
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FeaturedContent" runat="server">
    <div style="background-color: #8094AE; height: 40px; margin-top: 0px;">
        <h2 style="color: White; text-align:center;">
            <%= WinNemoLib.DateUtil.ToDisplayDate(DateTime.Now) %></h2>
    </div>
    <div id="page1">
        <table style="width: 100%; font-size: medium; color: #004080; padding: 5px; font-weight: bold;">
         <tr class="dis">
                <td>
                    Size : &nbsp;
                </td>
                <td style="text-align: left;">
                <%: Model._Size%>
                </td>
            </tr>
            <tr class="dis">
                <td>
                    Area : &nbsp;
                </td>
                <td style="text-align: left;">
                    <%: Model._Area %>
                </td>
            </tr>
            <tr class="dis">
                <td>
                    Cart : &nbsp;
                </td>
                <td style="text-align: left;">
                    <%: Model._Cart_no %>
                </td>
            </tr>
            <% if (WinNemoLib.StrUtil.IsNotEmpty(Model._Blank))
               { %>
              <tr class="dis">
                <td>
                    Blank : &nbsp;
                </td>
                <td style="text-align: left;">
                <%: Model._Blank%>
                </td>
            </tr>
            <% }
               else if (WinNemoLib.StrUtil.IsNotEmpty(Model._Count_date))
               { %>
                
              <tr class="dis">
                <td>
                    PLY : &nbsp;
                </td>
                <td style="text-align: left;">
                <%: Model._Ply%>
                </td>
            </tr>
              <tr class="dis">
                <td>
                    M. : &nbsp;
                </td>
                <td style="text-align: left;">
                <%: Model._Meter%>
                </td>
            </tr>
            <% }
               else
               {%>
             <tr class="dis">
                <td>
                    &nbsp;
                </td>
                <td style="text-align: left; width:75%">
                    &nbsp;
                </td>
            </tr>
            <% } %>
            
        </table>
      <div style="float:left">  <input type="button" id="back" value="Cancel" style="width: 40%" /></div>
   
 
    </div>
    
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ScriptsSection" runat="server">
<script type="text/jscript">
    $(function () {
        $("#back").click(function () {
            window.location = '<%: Url.Action("Query_Cart") %>'; 
        });
    });
</script>
</asp:Content>
